#ifndef HAL_LEDS_H
#define HAL_LEDS_H

#include "STC8G_H_GPIO.h"
#include "STC8G_H_Delay.h"

typedef enum {
    LEDS1,
    LEDS2,
    LEDS3,
    LEDS4,
    LEDS5,
    LEDS6,
    LEDS7,
    LEDS8
} Leds_Position_t;

#define ON 0    //开灯
#define OFF 1   //关灯

void HAL_Leds_Init(void);

void HAL_Leds_Control(Leds_Position_t leds, char state);

#endif